package com.u1zz.zeus.module.iot.controller.admin.device.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import java.util.*;

@Schema(description = "管理后台 - 设备新增/修改 Request VO")
@Data
public class DeviceSaveReqVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "8100")
    private Long id;

    @Schema(description = "设备标识", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "设备标识不能为空")
    private String deviceKey;

    @Schema(description = "设备名称", example = "张三")
    private String deviceName;

    @Schema(description = "所属产品", requiredMode = Schema.RequiredMode.REQUIRED, example = "4751")
    @NotNull(message = "所属产品不能为空")
    private Long productId;

    @Schema(description = "描述", example = "你猜")
    private String description;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "UNACTIVE")
    @NotEmpty(message = "状态不能为空")
    private String status;

}